package com.hua.mapper;

import com.hua.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface UserMapper {
    List<User>getAll();
    int addUser(User user);
    int deleteById(int id);
    int getUserById(int id);
    int updateUser(User user);
}
